import Vue from 'vue'
import { URL_PREFIX } from '@/api/index'

/* /login */
export const postLogin = (params) => Vue.http.post(URL_PREFIX + '/login', null, { params })

/* /loginMes
 */
export const getLoginInfo = () => Vue.http.get(URL_PREFIX + '/loginMes')

/* /logout */
export const getLogout = () => Vue.http.get(URL_PREFIX + '/logout')

/* 更新用户密码 /updatePsd */
export const updatePsd = (data) => Vue.http.post(URL_PREFIX + '/sys/user/updatePsd', data)
 